package com.fxl.majiang.message.output;

import com.fxl.majiang.enums.TilesEnum;
import lombok.Data;

import java.util.List;

/**
 * @author fengxinglei
 * @date 2022/8/9 14:02
 * @description 抓牌提醒
 */
@Data
public class OutputSelfGrabbingMsgData implements OutputMessageData{

    private static final long serialVersionUID = 3204923619297418615L;

    /**
     * 拥有的所有手牌，包括刚抓到的这张牌
     */
    private List<TilesEnum> ownedTiles;

    /**
     * 可以明杠的牌
     */
    private List<TilesEnum> mingGangTiles;

    /**
     * 可以暗杠的牌
     */
    private List<TilesEnum> anGangTiles;

    /**
     * 是否可以自摸
     */
    private boolean canZiMo;

    /**
     * 抓到的牌
     */
    private TilesEnum tile;

    public OutputSelfGrabbingMsgData(List<TilesEnum> ownedTiles, TilesEnum tile) {
        this.ownedTiles = ownedTiles;
        this.tile = tile;
    }
}
